package com.xudow.app.newui.bean;

import java.util.List;

/**
 * 作者：LownChen on 2016/9/1 17:11
 */
public class NianJi {


    /**
     * result : 0
     * data : null
     * grade : [{"gradeName":"六年级","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"五年级","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"四年级","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"一年级","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"二年级","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"三年级","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"初一","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"初二","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"学前","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"初三","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"高一","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"高二","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null},{"gradeName":"高三","gradeId":null,"userProfileId":null,"agencyId":null,"id":null,"gradeCode":null,"subjectId":null,"subjectName":null}]
     * errorMessage : null
     * errorCode : null
     */
    private String result;
    private String data;
    private List<GradeEntity> grade;
    private String errorMessage;
    private String errorCode;

    public void setResult(String result) {
        this.result = result;
    }

    public void setData(String data) {
        this.data = data;
    }

    public void setGrade(List<GradeEntity> grade) {
        this.grade = grade;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getResult() {
        return result;
    }

    public String getData() {
        return data;
    }

    public List<GradeEntity> getGrade() {
        return grade;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public class GradeEntity {
        /**
         * gradeName : 六年级
         * gradeId : null
         * userProfileId : null
         * agencyId : null
         * id : null
         * gradeCode : null
         * subjectId : null
         * subjectName : null
         */
        private String gradeName;
        private String gradeId;
        private String userProfileId;
        private String agencyId;
        private String id;
        private String gradeCode;
        private String subjectId;
        private String subjectName;

        public void setGradeName(String gradeName) {
            this.gradeName = gradeName;
        }

        public void setGradeId(String gradeId) {
            this.gradeId = gradeId;
        }

        public void setUserProfileId(String userProfileId) {
            this.userProfileId = userProfileId;
        }

        public void setAgencyId(String agencyId) {
            this.agencyId = agencyId;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setGradeCode(String gradeCode) {
            this.gradeCode = gradeCode;
        }

        public void setSubjectId(String subjectId) {
            this.subjectId = subjectId;
        }

        public void setSubjectName(String subjectName) {
            this.subjectName = subjectName;
        }

        public String getGradeName() {
            return gradeName;
        }

        public String getGradeId() {
            return gradeId;
        }

        public String getUserProfileId() {
            return userProfileId;
        }

        public String getAgencyId() {
            return agencyId;
        }

        public String getId() {
            return id;
        }

        public String getGradeCode() {
            return gradeCode;
        }

        public String getSubjectId() {
            return subjectId;
        }

        public String getSubjectName() {
            return subjectName;
        }
    }
}
